libxl: change semantics of ctx_free and remove ctx_close
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 30 Dec 2009 12:40:44 +0000 (12:40 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 30 Dec 2009 12:40:44 +0000 (12:40 +0000)
commit854d0618e81495ace720ad68f34fc2701cf32638
tree27891529fef53822bf65a6d1254311078a233ef1
parent7f370406ddd64a44fa207c5b14f9725842e9bf22
libxl: change semantics of ctx_free and remove ctx_close

ctx_close isn't use anywhere, and free reallocate the GC array, which
is quite surprising and lead to memory leaking in xl.c

Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h